import moment from 'moment'

moment.locale('zh-cn')
// moment.format('YYYY-MM-dd hh:mm:ss')

let dateServer = value => {
    let date = moment.unix(value/1000)
    return moment(date).format('YYYY-M-D hh:mm:ss')
}

export { dateServer }